home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
telecomm
/
term4.lzh
/
MACRO.DOC
< prev
next >
Wrap
Text File
|
1990-07-03
|
2KB
|
66 lines
This file contains notes about how macros work, both in function keys and
in macro files.
To have the dialer automaticaly run a macro file after a connection do the
following. Change the comment field so that the 1st character is "#"
followed by the name of the file to execute followed by a space or an end
of line. Example
Comment: #forem.mac - Steve
Comment: #caddis.mac
Comment: #login.mac - CIS
etc.
A macro command begins with the character "{" and ends with the character
"}" anything else that is not between these 2 chars will be sent out to the
modem.
The character "|" will be changed to a carriage return or carriage return
and linefeed if linefeeds are on.
To include any of the special characters from interpretation proceed the
character with a backslash "\". This is usful if you wish to use the "|",
"{", "}" characters without having them interpreted as something else.
Example. You want to send the string "this|is|a|test {again}" but don't
want the "|" to be sent as a carriage return and you don't want again to be
interpreted as a command.
this\|is\|a\|test\{again\}
A macro command the following format
{command parameters}
anything between the space and the "}" will be sent to "command" as a
paramater.
Hitting the undo key while a macro is running will abort the macro.
Function keys are considered to be a macro by this program.
Macro commands
--------------
Both long form and short will be given followed by the form of the command.
Command names may be in upper or lower case or both.
PAUSE, PA - {pause xxx}
This command will pause xxx seconds. Any keys hit on the keyboard will be
sent to the modem and any characters comming in from the modem will be sent
to the screen during this time.
WAIT, WA - {wait this string}
This command will stop execution of a macro file or function key until
"this string" is received by the modem. The string waited for will be the
first character after the space in the command name until the character
before the end of command character "}"
Example
{wa 1 2 3 4 5} will wait for the string "1 2 3 4 5"
GOTO, GO - {goto x}
This command will cause execution to goto function key x. This command
will not return after it executes. It is a goto not a gosub.
x can be any valid function key number (1-10 at this point in time)